package com.letfox.ad.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.letfox.ad.dao.ADDictionarysDao;
import com.letfox.ad.dao.ADPhysicScreenDao;
import com.letfox.ad.model.ADPhysicScreen;
import com.letfox.ad.model.ADPlan;
import com.letfox.ad.service.ADPhysicScreenService;
@Service
public class ADPhysicScreenServiceImpl implements ADPhysicScreenService {
	
	@Autowired
	private ADPhysicScreenDao adPhysicScreenDao;

	@Override
	public int deleteByPrimaryKey(String screenId) {
		return adPhysicScreenDao.deleteByPrimaryKey(screenId);
	}

	@Override
	public int insert(ADPhysicScreen record) {
		return adPhysicScreenDao.insert(record);
	}

	@Override
	public ADPlan selectByPrimaryKey(String screenId) {
		return adPhysicScreenDao.selectByPrimaryKey(screenId);
	}

	@Override
	public int updateByPrimaryKey(ADPhysicScreen record) {
		return adPhysicScreenDao.updateByPrimaryKey(record);
	}

}
